<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <tr class="timo-detail-page">
        <div class="timo-detail-title">患者基本信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th width='100px'>病案号</th>
                <td th:text="${patientbaseinfo.bah}"></td>
                <th width='100px'>患者姓名</th>
                <td th:text="${patientbaseinfo.xm}"></td>
                <th width='100px'>年限</th>
                <td th:text="${patientbaseinfo.nx}"></td>
            </tr>
            <tr>
                <th>患者年龄</th>
                <td th:text="${patientbaseinfo.nl}"></td>
                <th>患者性别</th>
                <td th:text="${patientbaseinfo.xb}"></td>
                <th>民族</th>
                <td th:text="${patientbaseinfo.mz}"></td>
            </tr>
            <tr>
                <th>出生日期</th>
                <td th:text="${patientbaseinfo?.csrq}"></td>
                <th>身份证号</th>
                <td th:text="${patientbaseinfo?.sfzh}"></td>
                <th>户口所在地</th>
                <td th:text="${patientbaseinfo?.hkszd}"></td>
            </tr>
            <tr>
                <th>出生地</th>
                <td th:text="${patientbaseinfo?.csd}"></td>
                <th>现住址</th>
                <td th:text="${patientbaseinfo?.xzz}"></td>
                <th>生存情况</th>
                <td th:text="${#dicts.keyValue('SCQK', patientbaseinfo?.scqk)}"></td>
            </tr>
            <tr>
                <th>联系人</th>
                <td th:text="${patientbaseinfo?.lxr}"></td>
                <th>联系电话</th>
                <td th:text="${patientbaseinfo?.lxrdh}"></td>
                <th>邮编</th>
                <td th:text="${patientbaseinfo?.yb}"></td>
            </tr>
            <tr>
                <th>入院日期</th>
                <td th:text="${patientbaseinfo?.ryrq}"></td>
                <th>出院日期</th>
                <td th:text="${patientbaseinfo?.cyrq}"></td>
                <th>离院方式</th>
                <td th:text="${#dicts.keyValue('LYFS', patientbaseinfo?.lyfs)}"></td>
            </tr>
            <tr>
                <th>死亡时间</th>
                <td th:text="${patientbaseinfo?.swsj}"></td>
                <th></th>
                <td></td>
                <th></th>
                <td></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">临床信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th width='100px'>发病年龄</th>
                <td th:text="${patientclinicalinfo?.fbnl}"></td>
                <th width='100px'>发病年龄单位</th>
                <td th:text="${patientclinicalinfo?.fbnldw}"></td>
                <th width='100px'>首次就医(非罕见病原因就医)</th>
                <td th:text="${patientclinicalinfo?.scjysj}"></td>
            </tr>
            <tr>
                <th>首次(罕见病)发病时间</th>
                <td th:text="${patientclinicalinfo?.scfbsj}"></td>
                <th>首次诊断</th>
                <td th:text="${patientclinicalinfo?.sfsjzd=='1'?'是':'否'}"></td>
                <th>首次诊断医院</th>
                <td th:text="${patientclinicalinfo?.sczdyy}"></td>
            </tr>
            <tr>
                <th>接诊机构</th>
                <td th:text="${patientclinicalinfo?.jzjg}"></td>
                <th></th>
                <td></td>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>就医主诉</th>
                <td th:text="${patientclinicalinfo?.jyzs}"></td>
                <th>主要症状</th>
                <td th:text="${patientclinicalinfo?.zyzz}"></td>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>重要体征</th>
                <td th:text="${patientclinicalinfo?.zytz}"></td>
                <th>酶学检查</th>
                <td th:text="${patientclinicalinfo?.mxjc}"></td>
                <th>基因检查</th>
                <td th:text="${patientclinicalinfo?.jyjc}"></td>
            </tr>
            <tr>
                <th>血常规</th>
                <td th:text="${patientclinicalinfo?.xcgjcjg}"></td>
                <th>尿常规</th>
                <td th:text="${patientclinicalinfo?.ncgjcjg}"></td>
                <th>血生化</th>
                <td th:text="${patientclinicalinfo?.xxhjcjg}"></td>
            </tr>
            <tr>
                <th>病理检查</th>
                <td th:text="${patientclinicalinfo?.bljcjg}"></td>
                <th>基因检查</th>
                <td th:text="${patientclinicalinfo?.jyjcjg}"></td>
                <th>其他检查</th>
                <td th:text="${patientclinicalinfo?.qtjcjg}"></td>
            </tr>
            <tr>
                <th>X-Ray</th>
                <td th:text="${patientclinicalinfo?.xxyxjg}"></td>
                <th>B超</th>
                <td th:text="${patientclinicalinfo?.bcyxjg}"></td>
                <th>CT</th>
                <td th:text="${patientclinicalinfo?.ctyxjg}"></td>
            </tr>
            <tr>
                <th>核磁</th>
                <td th:text="${patientclinicalinfo?.hcyxjg}"></td>
                <th>其他影像结果</th>
                <td th:text="${patientclinicalinfo?.qtyxjg}"></td>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>诊断时间</th>
                <td th:text="${patientclinicalinfo?.zdsj}"></td>
                <th>诊断类型</th>
                <td th:text="${patientclinicalinfo?.zdlx=='1'?'确认':'疑似'}"></td>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>确诊诊断名称</th>
                <td th:text="${patientclinicalinfo?.qzzd}"></td>
                <th>疑诊诊断名称</th>
                <td th:text="${patientclinicalinfo?.yszd}"></td>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>疾病编码</th>
                <td th:text="${patientclinicalinfo?.jbzdIcd10}"></td>
                <th>疾病诊断名称</th>
                <td th:text="${patientclinicalinfo?.jbzdmc}"></td>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>其他诊断名称1</th>
                <td th:text="${patientclinicalinfo?.subDiagnosis1}"></td>
                <th>其他诊断名称2</th>
                <td th:text="${patientclinicalinfo?.subDiagnosis2}"></td>
                <th>其他诊断名称3</th>
                <td th:text="${patientclinicalinfo?.subDiagnosis3}"></td>
            </tr>
            <tr>
                <th>确诊依据</th>
                <td th:text="${patientclinicalinfo?.qzyj==1?'确诊':'疑似'}"></td>
                <th>诊断方法</th>
                <td th:text="${#dicts.keyValue('ZDFF', patientclinicalinfo?.zdff)}"></td>
                <th>本次诊断医师</th>
                <td th:text="${patientclinicalinfo?.bczdys}"></td>
            </tr>
            <tr>
                <th>是否转诊</th>
                <td th:text="${patientclinicalinfo?.sfzz==1?'是':'否'}"></td>
                <th>治疗方案</th>
                <td th:text="${#dicts.keyValue('ZLFA', patientclinicalinfo?.zl)}"></td>
            </tr>
            <tr>
                <th>启动特异性治疗时间</th>
                <td th:text="${patientclinicalinfo?.qdtyxzlsj}"></td>
                <th>特异性治疗</th>
                <td th:text="${#dicts.keyValue('TYXZLFS', patientclinicalinfo?.tyxzlfs)}"></td>
                <th>非特异性治疗</th>
                <td th:text="${#dicts.keyValue('FTYXZLFS', patientclinicalinfo?.ftyxzlfs)}"></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">出生情况</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th width='100px'>胎次产次</th>
                <td th:text="${patientbirthinfo?.gp}"></td>
                <th width='100px'>母孕期情况</th>
                <td th:text="${patientbirthinfo?.myqqk}"></td>
                <th width='100px'></th>
                <td></td>
            </tr>
            <tr>
                <th>出生情况</th>
                <td th:text="${patientbirthinfo?.csqk}"></td>
                <th>生后情况</th>
                <td th:text="${patientbirthinfo?.shqk}"></td>
                <th></th>
                <td></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">个人情况</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th width='100px'>家庭成员人数</th>
                <td th:text="${patientpersonalinfo?.jtcys}"></td>
                <th width='100px'>家庭同病种患病人数</th>
                <td th:text="${patientpersonalinfo?.jttbzhbrs}"></td>
                <th width='100px'>家庭患病成员与患者关系</th>
                <td th:text="${#dicts.keyValue('YHZGX', patientpersonalinfo?.jthbcyyhzgx)}"></td>
            </tr>
            <tr>
                <th>个人史</th>
                <td th:text="${patientpersonalinfo?.grs}"></td>
                <th>家族史</th>
                <td th:text="${patientpersonalinfo?.jzs}"></td>
                <th></th>
                <td></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">血亲父母</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th width='100px'>父亲年龄</th>
                <td th:text="${patientparentsinfo?.fqnl}"></td>
                <th width='100px'>父亲年龄单位</th>
                <td th:text="${patientparentsinfo?.fqnldw}"></td>
                <th width='100px'>父亲健康情况</th>
                <td th:text="${patientparentsinfo?.fqjkqk}"></td>
            </tr>
            <tr>
                <th>父亲是否婚检</th>
                <td th:text="${#dicts.keyValue('SFBX', patientparentsinfo?.fqhj)}"></td>
                <th>父亲存在疾病</th>
                <td th:text="${patientparentsinfo?.fqczjb}"></td>
                <th>父亲受教育程度</th>
                <td th:text="${#dicts.keyValue('XLDM', patientparentsinfo?.fqsjycd)}"></td>
            </tr>
            <tr>
                <th width='100px'>母亲年龄</th>
                <td th:text="${patientparentsinfo?.mqnl}"></td>
                <th width='100px'>母亲年龄单位</th>
                <td th:text="${patientparentsinfo?.mqnldw}"></td>
                <th width='100px'>母亲健康情况</th>
                <td th:text="${patientparentsinfo?.mqjkqk}"></td>
            </tr>
            <tr>
                <th>母亲是否婚检</th>
                <td th:text="${#dicts.keyValue('SFBX', patientparentsinfo?.mqhj)}"></td>
                <th>母亲是否孕检</th>
                <td th:text="${#dicts.keyValue('SFBX', patientparentsinfo?.mqyj)}"></td>
            </tr>
            <tr>
                <th>母亲存在疾病</th>
                <td th:text="${patientparentsinfo?.mqczjb}"></td>
                <th>母亲受教育程度</th>
                <td th:text="${#dicts.keyValue('XLDM', patientparentsinfo?.mqsjycd)}"></td>
            </tr>
            <tr>
                <th>兄健康情况</th>
                <td th:text="${patientparentsinfo?.xjkqk}"></td>
                <th>弟健康情况</th>
                <td th:text="${patientparentsinfo?.djkqk}"></td>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>姐健康情况</th>
                <td th:text="${patientparentsinfo?.jjkqk}"></td>
                <th>妹健康情况</th>
                <td th:text="${patientparentsinfo?.mjkqk}"></td>
                <th></th>
                <td></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">费用信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th width='100px'>家庭平均年总收入</th>
                <td th:text="${#dicts.keyValue('JLFY', patientcostinfo?.jtpjnzsr)}"></td>
                <th width='100px'>发病至确诊前的总费用</th>
                <td th:text="${#dicts.keyValue('JLFY', patientcostinfo?.fbzqzdzfy)}"></td>
                <th width='100px'>确认后的总治疗费用自费占比</th>
                <td th:text="${#dicts.keyValue('JLFY', patientcostinfo?.qrhdzzlfyzfzb)}"></td>
            </tr>
            <tr>
                <th>发病以来每年额外增加的费用</th>
                <td th:text="${#dicts.keyValue('JLFY', patientcostinfo?.fbylmnewzjdfy)}"></td>
                <th>医保类型</th>
                <td th:text="${#dicts.keyValue('YBLX', patientcostinfo?.yblx)}"></td>
                <th></th>
                <td></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">患者病案首页费用信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
                <tr>
                    <th>费用总计</th>
                    <td th:text="${patientbacostinfo?.fyhj}"></td>
                    <th>自付金额</th>
                    <td th:text="${patientbacostinfo?.zfje}"></td>
                </tr>
                <tr>
                    <th>1.综合医疗服务费 (1)一般医疗服务费</th>
                    <td th:text="${patientbacostinfo?.fy01}"></td>
                    <th>(2)一般治疗操作费</th>
                    <td th:text="${patientbacostinfo?.fy02}"></td>
                </tr>
                <tr>
                    <th>(3)护理费</th>
                    <td th:text="${patientbacostinfo?.fy03}"></td>
                    <th>(4)其他费用</th>
                    <td th:text="${patientbacostinfo?.fy04}"></td>
                </tr>
                <tr>
                    <th>2.诊断类 (5)病理诊断费</th>
                    <td th:text="${patientbacostinfo?.fy05}"></td>
                    <th>(6)实验室诊断费</th>
                    <td th:text="${patientbacostinfo?.fy06}"></td>
                </tr>
                <tr>
                    <th>(7)影像学诊断费</th>
                    <td th:text="${patientbacostinfo?.fy07}"></td>
                    <th>(8)临床诊断项目费</th>
                    <td th:text="${patientbacostinfo?.fy08}"></td>
                </tr>
                <tr>
                    <th>3.治疗类 (9)非手术治疗项目费</th>
                    <td th:text="${patientbacostinfo?.fy09}"></td>
                    <th>临床物理治疗费</th>
                    <td th:text="${patientbacostinfo?.fy0901}"></td>
                </tr>
                <tr>
                    <th>(10)手术治疗费</th>
                    <td th:text="${patientbacostinfo?.fy10}"></td>
                    <th>麻醉费</th>
                    <td th:text="${patientbacostinfo?.fy1001}"></td>
                    <th>手术费</th>
                    <td th:text="${patientbacostinfo?.fy1002}"></td>
                </tr>
                 <tr>
                     <th>4.康复类 (11)康复费</th>
                     <td th:text="${patientbacostinfo?.fy11}"></td>
                 </tr>
                 <tr>
                     <th>5.中医类 (12)中医治疗费</th>
                     <td th:text="${patientbacostinfo?.fy12}"></td>
                 </tr>
                 <tr>
                     <th>6.西药类 (13)西药费</th>
                     <td th:text="${patientbacostinfo?.fy13}"></td>
                     <th>抗菌药费费用</th>
                     <td th:text="${patientbacostinfo?.fy1301}"></td>
                 </tr>
                 <tr>
                     <th>7.中药类 (14)中成药费</th>
                     <td th:text="${patientbacostinfo?.fy14}"></td>
                     <th>(15)中草药费</th>
                     <td th:text="${patientbacostinfo?.fy15}"></td>
                 </tr>
                 <tr>
                     <th>8.血液和血液制品类 (16)血费</th>
                     <td th:text="${patientbacostinfo?.fy16}"></td>
                     <th>(17)血蛋白制品费</th>
                     <td th:text="${patientbacostinfo?.fy17}"></td>
                 </tr>
                 <tr>
                     <th>(18)球蛋白类制品费</th>
                     <td th:text="${patientbacostinfo?.fy18}"></td>
                     <th>(19)凝血因子类制品费</th>
                     <td th:text="${patientbacostinfo?.fy19}"></td>
                     <th>(20)细胞因子类制品费</th>
                     <td th:text="${patientbacostinfo?.fy20}"></td>
                 </tr>
                 <tr>
                     <th>9.耗材类 (21)检查用一次性医用材料费</th>
                     <td th:text="${patientbacostinfo?.fy21}"></td>
                     <th>(22)治疗用一次性医用材料费</th>
                     <td th:text="${patientbacostinfo?.fy22}"></td>
                 </tr>
                 <tr>
                     <th>(23)手术用一次性医用材料费</th>
                     <td th:text="${patientbacostinfo?.fy23}"></td>
                 </tr>
                 <tr>
                     <th>10.其他类 (24)其他费</th>
                     <td th:text="${patientbacostinfo?.fy24}"></td>
                 </tr>
             </div>
         </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>